package com.objetdirect.gwt.umldrawer.shared.services;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.objetdirect.gwt.umldrawer.shared.dto.ProjectDto;

public interface ProjectServiceAsync {

	void saveProject(int projectId, String name, String type,
			String adminEmail, AsyncCallback<Void> callback);

	void findProject(int projectId, AsyncCallback<ProjectDto> callback);

	void updateProject(int projectId, String name, String type,
			String adminEmail, AsyncCallback<Void> callback);

	void deleteProject(int projectId, AsyncCallback<Void> callback);

	void saveOrUpdateProject(int projectId, String name, String type,
			String adminEmail, AsyncCallback<Void> callback);

}
